package it.tutorial.jmx.mbeans;


public class Prova implements ProvaMBean {

	private int var1;
    private String var2;
    
    public Prova(int var1, String var2){
    	this.var1 = var1;
    	this.var2 = var2;
    }
    
	public int getVar1() {
		return this.var1;
	}

	public void setVar1(int var1) {
		this.var1 = var1;
	}

	public String getVar2() {
		return this.var2;
	}

	public void setVar2(String var2) {
		this.var2 = var2;
	}

	public String doOperation() {
		System.out.println("Do an operation...");
		return "from ProvaMBean";
	}

}
